* table 3

use Diversification.dta, clear

gen  GDPpcppp2= GDPpcppp* GDPpcppp

* elimination of microstates

egen mpop=mean(pop), by(reporter)
drop if mpop<1000000

* columns (1) (2) (3) and (4)

xi: reg  HHI GDPpcppp GDPpcppp2 Soil i.year, robust
xi: reg  T GDPpcppp GDPpcppp2 Soil i.year, robust
xi: reg  Gini GDPpcppp GDPpcppp2 Soil i.year, robust
xi: reg  Nber GDPpcppp GDPpcppp2 Soil i.year, robust

gen Ogdp=Soil*GDPpcppp
gen Ogdp2=Soil*GDPpcppp2

* columns (5) (6) (7) and (8)

xi: reg  HHI GDPpcppp GDPpcppp2 Ogdp Ogdp2 Soil i.year, robust
xi: reg  T GDPpcppp GDPpcppp2 Ogdp Ogdp2 Soil i.year, robust
xi: reg  Gini GDPpcppp GDPpcppp2 Ogdp Ogdp2 Soil i.year, robust
xi: reg  Nber GDPpcppp GDPpcppp2 Ogdp Ogdp2 Soil i.year, robust

